<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <link rel="stylesheet" href="css/layer.css" />
    <link rel="stylesheet" href="css/style.css" />
	<link rel="icon" href="images/favicon.png">
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="back_a">
			<img src="images/back.png"/>
		</a>
		<span class="mui-title">设置</sapn>
	</header>
	<div class="install_bg">
		<dl class="install_dl" onclick="updateProfile()">
			<dt class="install_dt">修改个人资料</dt>
			<dd class="install_dd">
				<img src="images/right_back.png"/>
			</dd>
		</dl>
		<dl class="install_dl" onclick="forgetpasd()">
			<dt class="install_dt">修改密码</dt>
			<dd class="install_dd">
				<img src="images/right_back.png"/>
			</dd>
		</dl>
	</div>
	<div class="install_btn">退出账户</div>
</body>
<script type="text/javascript" src="js/jquery.js" ></script>
<script type="text/javascript" src="js/layer.js" ></script>
<script type="text/javascript">

	$(".install_btn").click(function () {
        var storage=window.localStorage;
        storage.clear();
        window.location.href ="/";
    })

    //返回上一级
    $(".back_a").click(function(){
        window.location.href ="/index";
    })
    //修改个人资料
    function updateProfile(){
        window.location.href ="/updateProfile";
    }
    //修改密码
    function forgetpasd(){
        window.location.href ="/forgetpasds";
    }
	
</script>
</html>